package com.ruoyi.paramters.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.Date;

/**
 * 公司参数设置对象 parameter
 *
 * @author zjh
 * @date 2022-04-26
 */
public class Parameter extends BaseEntity {
    private static final long serialVersionUID = 1L;

    private String matePre;//原材料入库前缀
    private String mateOutpre;//原材料出库前缀
    /**
     * 公司id
     */
    private Long companyId;
    /**
     * 采购订单编号前缀
     */
    @Excel(name = "采购订单编号前缀")
    private String purPre;
    /**
     * 销售订单编号前缀
     */
    @Excel(name = "销售订单编号前缀")
    private String salePre;
    /**
     * 采购订单编号前缀
     */
    @Excel(name = "入库订单编号前缀")
    private String stockPre;
    /**
     * 采购订单编号前缀
     */
    @Excel(name = "出库订单编号前缀")
    private String outPre;
    /**
     * 采购订单编号前缀
     */
    @Excel(name = "销售发票编号前缀")
    private String invoicePre;
    /**
     * 正常温度
     */
    @Excel(name = "正常温度")
    private String normalTemp;
    /**
     * 正常湿度
     */
    @Excel(name = "正常湿度")
    private String normalHum;
    /**
     * 创建时间
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date creatTime;
    /**
     * 创建人
     */
    @Excel(name = "创建人")
    private String creatBy;

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public String getMatePre() {
        return matePre;
    }

    public void setMatePre(String matePre) {
        this.matePre = matePre;
    }

    public String getMateOutpre() {
        return mateOutpre;
    }

    public void setMateOutpre(String mateOutpre) {
        this.mateOutpre = mateOutpre;
    }

    public Long getCompanyId() {
        return companyId;
    }

    public void setCompanyId(Long companyId) {
        this.companyId = companyId;
    }

    public String getPurPre() {
        return purPre;
    }

    public void setPurPre(String purPre) {
        this.purPre = purPre;
    }

    public String getSalePre() {
        return salePre;
    }

    public void setSalePre(String salePre) {
        this.salePre = salePre;
    }

    public String getStockPre() {
        return stockPre;
    }

    public void setStockPre(String stockPre) {
        this.stockPre = stockPre;
    }

    public String getOutPre() {
        return outPre;
    }

    public void setOutPre(String outPre) {
        this.outPre = outPre;
    }

    public String getInvoicePre() {
        return invoicePre;
    }

    public void setInvoicePre(String invoicePre) {
        this.invoicePre = invoicePre;
    }

    public String getNormalTemp() {
        return normalTemp;
    }

    public void setNormalTemp(String normalTemp) {
        this.normalTemp = normalTemp;
    }

    public String getNormalHum() {
        return normalHum;
    }

    public void setNormalHum(String normalHum) {
        this.normalHum = normalHum;
    }

    public Date getCreatTime() {
        return creatTime;
    }

    public void setCreatTime(Date creatTime) {
        this.creatTime = creatTime;
    }

    public String getCreatBy() {
        return creatBy;
    }

    public void setCreatBy(String creatBy) {
        this.creatBy = creatBy;
    }

    @Override
    public String toString() {
        return "Parameter{" +
                "companyId=" + companyId +
                ", purPre='" + purPre + '\'' +
                ", salePre='" + salePre + '\'' +
                ", stockPre='" + stockPre + '\'' +
                ", outPre='" + outPre + '\'' +
                ", invoicePre='" + invoicePre + '\'' +
                ", normalTemp='" + normalTemp + '\'' +
                ", normalHum='" + normalHum + '\'' +
                ", creatTime=" + creatTime +
                ", creatBy='" + creatBy + '\'' +
                '}';
    }
}
